<!DOCTYPE html>
<html>
<head>
  <title>Promise.reject undefined</title>
</head>

<body>
  <h1> I am going to reject undefined in the document </h1>
</body>
<script>
  Promise.reject(undefined)
</script>
</html>